import { checkEmail, checkFileSize, checkFileType, checkIdCard, checkMobile } from './modules/check'
import {
  systemMac,
  systemAndroid,
  systemWindows,
  systemH5,
  getKernel,
  setLocalStorage,
  getLocalStorage,
  removeLocalStorage,
  clearLocalStorage,
  setSessionStorage,
  getSessionStorage,
  removeSessionStorage,
  clearSessionStorage,
  webAppEnvironment,
} from './modules/system'
import {
  getUrlParams,
  objectToUrlParams,
  preserveDecimalLaces,
  copyText,
  fileToBase64,
  fileToBlob,
  fileToArrayBuffer,
  base64ToFile,
  base64ToBlob,
  base64ToArrayBuffer,
  blobToFile,
  blobToUrl,
  downLoadResource,
} from './modules/tool'

export {
  systemMac,
  systemAndroid,
  systemWindows,
  systemH5,
  getKernel,
  webAppEnvironment,
  getUrlParams,
  setLocalStorage,
  getLocalStorage,
  removeLocalStorage,
  clearLocalStorage,
  setSessionStorage,
  getSessionStorage,
  removeSessionStorage,
  clearSessionStorage,
}
export { checkFileSize, checkFileType, checkMobile, checkEmail, checkIdCard }
export {
  objectToUrlParams,
  preserveDecimalLaces,
  copyText,
  fileToBase64,
  fileToBlob,
  fileToArrayBuffer,
  base64ToFile,
  base64ToBlob,
  base64ToArrayBuffer,
  blobToFile,
  blobToUrl,
  downLoadResource,
}
